package com.chainyoung.trademarket.di.module;

import com.chainyoung.common.di.scope.ActivityScope;
import com.chainyoung.trademarket.mvp.contract.LoginContract;
import com.chainyoung.trademarket.mvp.contract.RegisterContract;
import com.chainyoung.trademarket.mvp.contract.SendCodeContract;
import com.chainyoung.trademarket.mvp.model.LoginModel;
import com.chainyoung.trademarket.mvp.model.RegisterModel;
import com.chainyoung.trademarket.mvp.model.SendCodeModel;

import javax.inject.Inject;

import dagger.Module;
import dagger.Provides;

@Module
public class RegisterModule {

    private RegisterContract.View view;



    public RegisterModule(RegisterContract.View view) {
        this.view = view;
    }

    @ActivityScope
    @Provides
    RegisterContract.View providerRegisterView() {
        return this.view;
    }

    @ActivityScope
    @Provides
    RegisterContract.Model providerRegisterModel(RegisterModel model) {
        return model;
    }


}
